
import 'package:flutter/material.dart';
import 'package:flutter_demo/pages/base/base/widget.dart';
import 'package:flutter_demo/pages/page_with_title.dart';
import 'package:flutter_demo/widgets/app_widgets.dart';

class ExamplePage extends PageWithTitle{
  const ExamplePage({super.key}):super("页面示例");

  @override
  List<Widget> buildContentWidgets(BuildContext context) {
    return const [
      PrimaryTitle("标题"),
      AppSpacer.large,//组件间距
      UlItem("无序条目"),
      AppSpacer.large,
      OlItem(1,"有序条目"),
      CategoryTitle("分段类型"),
      BodyText("主要文本"),
      LabelText("描述文本"),
      PageLink(WidgetPage(),text: "页面链接",),
      UrlLink("超链接", "https://www.baidu.com/"),
    ];
  }
}